package com.wnxy.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class AuthPattern {
    private String[] patterns;

    public String[] getPatterns() {
        String[] strings = new String[]{"/login","/v2/api-docs","/swagger-ui.html","/webjars/**/*","/swagger-resources/**","/swagger/**","/docs.html","/document.html","/doc.html"
                ,"/manager/loginPage" ,"/manager/text" ,"/qqinfo","/qqlogin","/phoneLogin","/ticket/allTicket","/notify","/order/**","/order/create","/order/pay","/ticket/**","/manager/loadPower" };
        this.patterns=strings;
        return patterns;
    }
}
